<template>
  <div class="m-content-display">
    <div class="m-router-view">
      <Headers />
      <router-view></router-view>
      <!-- <router-view :key="$route.fullPath"></router-view> -->
    </div>
    <Footers />

    <Customer v-if="iswebcoket == 1" />
  </div>
</template>

<script setup>
import { ref, provide } from "vue";
// const iswebcoket = ref(su.cook.getcookie("iswebsoket"));
const iswebcoket = false;
const changeWebcoket = () => {
  iswebcoket.value = false;
  su.cook.setcookie("iswebsoket", 0);
  ElMessage("已关闭客服");
};
provide("changeWebcoket", changeWebcoket);
</script>
